﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MYQQX.SP
{
    public class Blts_ty : ISp
    {
        public override string Name => "百里屠苏·天墉";

        public override string Desc => @"技能效果一：古剑焚寂的分数增加15分
技能效果二：下一回合一定出现一个《古剑奇谭一》的主要角色";

        public override int GetExtraScore(CardGroup group)
        {
            if (group.cardList.Any(t => t.Name == "古剑焚寂"))
                return 15;
            
            return base.GetExtraScore(group);
        }

        public override void Got(CardGroup MyGroup, CardGroup OtGroup)
        {
            SetNextSend((cards) =>
            {
                return cards.FirstOrDefault(t => t.GameVersion == 1);
            });
        }
    }
}
